package com.zhuqi;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * <p>聊天 数据 服务器</p>
 * 用此服务来异步处理数据
 * 如：数据落库 等操作
 * @author zhuqi
 * @since 2023/3/10 9:25
 */
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@EnableAsync
@EnableScheduling
@MapperScan(value = {"com.zhuqi.mapper"})
public class NettyDataApplication {
	public static void main(String[] args) {
		SpringApplication.run(NettyDataApplication.class, args);
	}
}
